package com.woniuxy.member.client;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import result.Result;

import java.util.List;

@FeignClient(contextId = "memberOrderQueryClient",name="member",path="member")
public interface MemberOrderQueryClient {

    @GetMapping("/getCartByTableId")
    public Result getCartByTableId();

    @GetMapping("/memberQueryStoreOrder")
    Result memberQueryStoreOrder();

    @GetMapping("/memberQueryOrderItem")
    Result memberQueryOrderItem( @RequestParam("orderId") Integer orderId);

    @GetMapping("/queryPayOrder")
    public Result queryPayOrder(@RequestParam("pageNmu") Integer pageNum, @RequestParam("pageSize") Integer pageSize);
}
